projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1142209
)
(gud-filter): Bind inhibit-read-only to t
author
Nick Roberts
<nickrob@snap.net.nz>
Mon, 24 Oct 2005 08:50:45 +0000
(08:50 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Mon, 24 Oct 2005 08:50:45 +0000
(08:50 +0000)
in case comint-prompt-read-only is set to t.
lisp/progmodes/gud.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gud.el
b/lisp/progmodes/gud.el
index 8f962381d24f998a8cadebd555f95227d415feec..de050cf696a35dcc90bb77d0cf32cfc4dca2ce9d 100644
(file)
--- a/
lisp/progmodes/gud.el
+++ b/
lisp/progmodes/gud.el
@@
-2530,7
+2530,7
@@
It is saved for when this flag is not set.")
(save-restriction
(widen)
(if (marker-buffer gud-delete-prompt-marker)
- (
progn
+ (
let ((inhibit-read-only t))
(delete-region (process-mark proc)
gud-delete-prompt-marker)
(set-marker gud-delete-prompt-marker nil)))